/*
 *  AbstractSeries是所有图表类的基类，它的直接派生子类为:
 *      AbstractBarSeries,
 *      AreaSeries,
 *      BoxPlotSeries,
 *      CandlestickSeries,
 *      PieSeries, and XYSeries，
 *      通过XYSeries又可以派生出
 *          LineSeries,
 *          ScatterSeries, and SplineSeries。
 *  AbstractAxis是所有图表轴的基类，派生子类为:
 *      BarCategoryAxis,
 *      CategoryAxis, DateTimeAxis,
 *      LogValueAxis, and ValueAxis。
 * */

#include <QGuiApplication>
#include <QQmlApplicationEngine>

int main(int argc, char *argv[])
{
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

    QGuiApplication app(argc, argv);

    QQmlApplicationEngine engine;
    engine.load(QUrl(QStringLiteral("qrc:/TestQChart.qml")));
    if (engine.rootObjects().isEmpty())
        return -1;

    return app.exec();
}
